package com.team.recruitment_management_system.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.team.recruitment_management_system.pojo.dto.auth.*;
import com.team.recruitment_management_system.pojo.entity.SysUser;
import com.team.recruitment_management_system.pojo.vo.LoginVo;
import com.team.recruitment_management_system.util.result.Result;

public interface AuthService extends IService<SysUser> {

    Result<LoginVo> userRegister(RegisterDto registerDto);

    Result<LoginVo> userLogin(LoginDto loginDto);

    Result<LoginVo> userLoginByEmail(EmailAndCaptchaDto emailAndCaptchaDto);

    Result<Void> userChangePwdByEmail(ChangePwdByEmailDto changePwdByEmailDto);

}
